package com.smart_environmental_protection.dao;

import com.smart_environmental_protection.pojo.DetaMol;
import com.smart_environmental_protection.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;

@Repository
public interface DetaMolDao {
    @Insert({"INSERT INTO `s_detailMol` (`channel`, `originalId`, `point`, `state`, `userId`,createBy,address,contact,goodSum) VALUES (#{channel}, #{originalId}, #{point}, #{state}, #{userId},#{createBy} , #{address}, #{contact}, #{goodSum})"})
     int InsertMol(DetaMol detaMol);
}
